This chapter concerns itself with the definition, display and labelling of standard two dimensional graph axes. The definition of an axes system for the following graph and chart chapters is required to set up an appropriate graphical coordinate system in which to display the data. As well as the default numerical labelling of axes, textual labelling is covered together with fine control of the position and format of graphical annotation.
Summary of the functionality of the axes routines:
| ggSetAxesPos() ggEnqAxesPos() |
Set/enquire axis position |
| ggSetAxesScaling() ggEnqAxesScaling() |
Set/enquire axes range and scaling type |
| ggDrawAxes() | Draws axes, tick marks and numeric annotation |
| ggAddGrid() | Draws a stylized frame |
| ggSetGridMarker() ggEnqGridMarker() |
Set/enquire grid intersection symbol |
| ggSetAxesAnnotation() ggEnqAxesAnnotation() |
Set/enquire numeric format of axes annotation |
| ggDrawAxesTitle() | Output an axis title |
| ggDrawAxesLabels() | Axes labelling |
| ggSetAxesAttribs() ggEnqAxesAttribs() |
Set/enquire axes annotation attributes |
| ggSetDateFormat() ggEnqDateFormat() |
Set/enquire date input format |
| ggSetDateAxesScaling() ggEnqDateAxesScaling() |
Set/enquire date axes scaling |
| ggSetDateAxesAnnotation() ggEnqDateAxesAnnotation() |
Set/enquire date axes output format |
| ggConvertDates() | Converts date data |
| ggConvertDateToGraph() | Converts date into a real value representing a day number |
| ggConvertGraphToDate() | Converts a date value into a character string in the current input date format |
| ggRestoreAxesSettings() | Restore default axes settings |